export const payTypeSchema = {
  options: [
    {
      label: '微信',
      value: '1',
    },
    {
      label: '支付宝',
      value: '2',
    },
    {
      label: '银行卡',
      value: '3',
    },
    {
      label: '现金',
      value: '4',
    },
    {
      label: '医保',
      value: '5',
    },
  ],
  rules: [
    {
      required: true,
      message: '支付方式不能为空',
    },
  ],
};

export const receiveMethodSchema = {
  options: [
    {
      label: '自取',
      value: '1',
    },
    {
      label: '邮寄',
      value: '2',
    },
  ],
  defaultValue: '1',
  rules: [
    {
      required: true,
      message: '请选择取药方式',
    },
  ],
}

export const payStatusSchema = {
  options: [
    {
      label: '待支付',
      value: '1',
    },
    {
      label: '已支付',
      value: '2',
    },
    {
      label: '已退款',
      value: '3',
    },
    {
      label: '已取消',
      value: '4',
    },
  ],
  defaultValue: '1',
  rules: [
    {
      required: true,
      message: '请选择支付状态',
    },
  ],
}


export const genderSchema = {
  options: [
    {
      label: '男',
      value: '0',
    },
    {
      label: '女',
      value: '1',
    },
  ],
  defaultValue: '0',
  rules: [
    {
      required: true,
      message: '请选择性别',
    },
  ],
}



export const patientStatusSchema = {
  options: [
    {
      label: '待就诊',
      value: '1',
    },
    {
      label: '进行中',
      value: '2',
    },
    {
      label: '已完成',
      value: '3',
    },
  ],
  defaultValue: '1',
  rules: [
    {
      required: true,
      message: '请选择就诊状态',
    },
  ],
}

export const patientStatusInMedicinStoreSchema = {
  options: [
    {
      label: '待备药',
      value: '1',
    },
    {
      label: '待煎药',
      value: '2',
    },
    {
      label: '待取药',
      value: '3',
    },
    {
      label: '已完成',
      value: '4',
    },
  ],
  defaultValue: '1',
  rules: [
    {
      required: true,
      message: '请选择就诊状态',
    },
  ],
}
